/*
 * @Descripttion: http发起请求
 * @Author: whl
 * @Date: 2022-06-29 10:19:15
 * @LastEditors: whl
 * @LastEditTime: 2022-06-30 13:52:46
 */
import {httpRequest} from '@/js/api/baseApi.js'
const prefixUrl = '/api'

// 示例 data : {account,password}
export function fetchLogin (data) {
  return httpRequest({
    url: `${prefixUrl}/user/login`,
    method: 'get',
    data: data
  })
}
